<!-- toaster directive -->
<toaster-container
        toaster-options="{'position-class': 'toast-top-right', 'close-button':true}"></toaster-container>
<!-- / toaster directive -->
<style scope>
.content{
    width:50%;
    margin: 0 auto;
    margin-top: 6%;
}

.panel-heading{
    line-height: 30px;
}
.form-horizontal{padding:0 15px;}
.form-horizontal .control-label{
   float: left;
}
.form-control{
    width:60%;
    float: left;
}
.form-group{
    margin: 15px 0 20px 0;
}
.control-label{
    width:15%;
    margin-right: 15px;
}
.GetCord{margin-left: 15px;padding: 7px 4px!important;}
.addNew{padding: 6px 15px;}
.col-sm-offset-2{text-align: center;margin: 0;}
.btn-primary[disabled]{border-color: #ebebeb;}
</style>
<!-- 内容区域 -->
    <div class="wrapper-md content">
    <div class="panel panel-default">
        <!-- 头部 -->
        <div class="panel-heading">{{title}}
            <a class="btn btn-sm btn-icon btn-rounded btn-default pull-right m-t-n-xs"ui-sref="access.login">
                <i class="text-md glyphicon glyphicon-chevron-up text-muted"></i>
            </a>
        </div>
        <!--表单-->
        <div class="panel-body">
            <form class="form-horizontal" name="house_form">
                <div class="form-group">
                    <label for="phone" class="control-label text-right">手机号：</label>
                    <div>
                        <input type="text" class="form-control" ng-model="record.phone" name="phone" pattern="^1[34578]\d{9}$"
                            placeholder="请输入绑定的手机号码"
                        >
                    </div>

                </div>

                <div class="form-group">
                    <label for="smsCode" class=" control-label text-right">验证码：</label>
                    <div>
                        <input type="text" class="form-control" ng-model="record.smsCode" name="smsCode"
                            placeholder="请输入验证码"
                        >
                    </div>

                    <div>
                        <button type="button"ng-click="getSmsCode(record.phone)" class="btn btn-primary new-primary GetCord"  id="getCode">免费获取验证码</button>
                    </div>
                </div>

                <div class="form-group">
                    <label for="password" class=" control-label text-right">新密码：</label>
                    <div>
                        <input type="password" class="form-control" ng-model="record.password" name="password"
                            placeholder="请设置新密码"
                        >
                    </div>

                </div>

                <div class="form-group">
                    <label for="password1" class=" control-label text-right">确认新密码：</label>
                    <div>
                        <input type="password" class="form-control" ng-model="record.password1" name="password1"
                            placeholder="确认密码"
                        >
                    </div>

                </div>

                <hr style=" height:2px;border:none;border-top:1px solid #c0c0c0;margin-top: 30px"/>

                <div class="form-group">
                    <div class="col-sm-offset-2 text-middle">
                        <button type="submit" class="addNew"
                                ng-disabled="isDisabled">提交
                        </button>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>
<script>

</script>